GtkStack: Save last visible widget size
authorTimm Bäder <mail@baedert.org>
Sun, 24 May 2015 14:55:34 +0000 (16:55 +0200)
committerTimm Bäder <mail@baedert.org>
Fri, 29 May 2015 15:37:04 +0000 (17:37 +0200)
commitbdabea3ae38e1cd1d0029681369de65f19866d05
treecca7ecd88cb7f07ff2bdff381f51aacd068337eb
parentb3bbe990010ef44fdeeabe3f379394f91593f20d
GtkStack: Save last visible widget size

When interpolating the stack size, we compute the current size by using
the prefered/minimum current size and the last size. We can't use the
last_visible_surface_allocation because that is not available until the
first _draw call and it doesn't include the child's margins.
gtk/gtkstack.c